//用于对优惠券进行计数
export const getCouponCount = (countList) => {

    let count = 0;
     countList.forEach(item=>{
         if(item.content)
         {
             item.content.forEach(item=>{
                 if(item)
                 {
                 count+=1;
                 }
             })
         }
     });
     return count;
}